/*
 * Copyright (C) 2017-2019 Dremio Corporation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
 @import "~@app/uiTheme/less/color-schema.less";
:global {
  .datasetGraph {
    flex-grow: 1;
    position: absolute;
    height: 110vh;
    width: 100%;
    overflow-x: scroll !important;
    &__errorDisplay {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 48px;
      position: relative;
      top: 24%;
      font-size: 20px;
      font-weight: 600;
      font-family: 'Inter var';
    }
    &__gnarlyIcon {
      height: 133px;
      width: 91px;
    }
  }
  .react-flow__handle {
    height: 0px !important;
    border-radius: 0px ;
  }
  .react-flow__node-default,
  .react-flow__node-input,
  .react-flow__node-output {
    border-radius: 5px !important;
  }
  .react-flow__renderer {
    top: 20px !important;
    left: 30px !important
  }
  .react-flow__edge.animated path {
    animation: none !important;
    -webkit-animation:none !important;
  }
  .reflectionData {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 4px;
    &__contentRaw {
      width: 125px;
      min-height: 36px;
      height: auto;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      border: 1px solid @SECONDARY_500;
      border-radius: 4px;
      background-color: @DARK_300;
      font-size: 10px;
      color: @CHARCOAL;
      line-height: 16px;
      gap: 12px;
      font-weight: 600;
      font-family: 'Inter var';
    }
    &__contentAgg {
      width: 125px;
      min-height: 36px;
      height: auto;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      border: 0.25px solid @SECONDARY_300;
      border-radius: 4px;
      background-color: @DARK_100;
      font-size: 10px;
      color: @CHARCOAL;
      line-height: 14px;
      gap: 12px;
      font-family: 'Inter var';
    }
    &__reflectionIcon {
      height: 24px;
    }
    &__reflectionAgg {
      height: 24px;
      margin-top: 5px;
    }
  }
  .algMatch {
    display: flex;
    flex-direction: column;
    border: 0.5px solid @DARK_900;
    gap: 4px;
    height: auto;
    min-height: 40px;
    width: 120px;
    line-height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    overflow-wrap: anywhere;
    color: @DARK_900;
    margin-bottom: 2px 0px;
    margin-top: 2px;
    padding: 4px;

  }
  .algMatchReflection {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    &__contentRaw {
      width: 115px;
      min-height: 36px;
      height: auto;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      border: 1px solid @SECONDARY_500;
      border-radius: 4px;
      background-color: @DARK_300;
      font-size: 10px;
      color: @CHARCOAL;
      line-height: 16px;
      gap: 12px;
      font-weight: 600;
      font-family: 'Inter var';
    }
    &__contentAgg {
      width: 115px;
      min-height: 36px;
      height: auto;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      border: 0.25px solid @SECONDARY_300;
      border-radius: 4px;
      background-color: @DARK_100;
      font-size: 10px;
      color: @CHARCOAL;
      line-height: 14px;
      gap: 12px;
      font-family: 'Inter var';
    }
    .dataSetGraphToolTip {
      height: 20px;
      width: 50px;
    }
  }
}
